#ifndef SLTOOL_NET_20220222_
#define SLTOOL_NET_20220222_

#include <stdint.h>
#include <string>
#include "SLT_tool_pub_def.h"

SLT_API uint32_t   SLT_ip2num(const char* _ip);
SLT_API void  SLT_ip2str(uint32_t _localIp,std::string &_strip);
SLT_API std::string  SLT_ip2str(uint32_t _localIp);

SLT_API uint32_t SLT_ntohl(uint32_t _in);
SLT_API uint16_t SLT_ntohs(uint16_t _in);
SLT_API uint32_t SLT_htonl(uint32_t _in);
SLT_API uint16_t SLT_htons(uint16_t _in);
#endif